﻿using GeneralServices.Model;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WpfApplication1.TestComposantV2
{
    public class BaseRepositoryEmballage<T> : BaseRepository<T> where T : EntityModel
    {
        public BaseRepositoryEmballage(FactoryDTOEmballage factory, DbContext context)
            : base(factory, context)
        {

        }

        //POUR TEST : public override  IDTO CreateEmpty()
        //{
        //    DTOEmballage emb = Factory.CreateDTO(Data.Create()) as DTOEmballage;
        //    emb.RESP_MISE_A_JOUR = "toto";
        //    emb.DATE_HEURE_CREATION = DateTime.Now;
        //    return (IDTO)emb;
        //}
    }
}
